using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.Media;
using static System.Net.Mime.MediaTypeNames;
using System.Globalization;
using Spreadalonia;
using System.Collections.Immutable;

namespace Demo
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        public async void AAA(System.Object sender, Avalonia.Interactivity.RoutedEventArgs e)
        {
            PART_Spreadsheet.Data[(0, 0)] = "11";
            PART_Spreadsheet.Selection = new SelectionRange[] { new SelectionRange(0, 0) }.ToImmutableList();
        }

    }
}